package com.tengfei.config;

import com.tengfei.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @author: ten_fei
 * @date: 2021-07-09 10:47
 */
@Configuration
@ComponentScan("com.tengfei.pojo")
public class MyConfig {

    @Bean
    public User userbean(){
        return new User();
    }
}
